ExamPlay Light Logo
Logg på

Computer Science for IGCSE & O level - Programming (Section 14 - No. 42)

What is the primary function of selection statements in programming?
To execute a block of code repeatedly.
To perform mathematical calculations.
To make decisions and control program flow based on conditions.
To declare and initialize variables.

Forklaring

Selection statements allow the program to choose what code to execute based on whether conditions are true or false.

Kommentarer (0)

Logg inn for å kommentere
Annonse
BrainBehindX Inc Logo
©2026; Drevet av BrainBehindX Inc